package com.yhy.wxzn.wms.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yhy.wxzn.wms.entity.WmsInventory;
import com.yhy.wxzn.wms.mapper.WmsInventoryMapper;
import com.yhy.wxzn.wms.service.IWmsInventoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 库存表
 * @Author: jeecg-boot
 * @Date:   2023-11-01
 * @Version: V1.0
 */
@Service
public class WmsInventoryServiceImpl extends ServiceImpl<WmsInventoryMapper, WmsInventory> implements IWmsInventoryService {

    @Autowired
    private WmsInventoryMapper inventoryMapper;

    @Override
    public IPage<WmsInventory> pageSelf(Page<WmsInventory> page, QueryWrapper<WmsInventory> queryWrapper) {
        return inventoryMapper.pageSelf(page,queryWrapper);
    }
}
